package com.elm.service;

import com.elm.po.Wallet;
import com.elm.po.Transaction;

import java.util.List;

public interface WalletService {
    Wallet getWallet();
    int recharge(Double amount);
    int withdraw(Double amount);
    int transfer(int  fromUserId, int toUserId, Double amount, String remark);
    List<Transaction> getTransactions();
    int repay(double amount);
}

